* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
:root {
    --border-radius: 10px;
    --nav-height: 60px;
    font-family: 16px;
}
body {
    width: 100%;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: Helvetica, Arial, sans-serif;
    background-color: rgb(0, 0, 0);
}
nav {
    width: 700px;
    /* width: 80vw; */
    height: var(--nav-height);
    padding: 8px 15px;
    border-radius: var(--border-radius);
    color: #2b2b2b;
    background-color: #a0a0a0b0;
    /* backdrop-filter: blur(10px); */
    overflow: hidden;
}
.nav-list {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    list-style: none;
    font-weight: bold;
    transition: all 0.3s ease;
}
.nav-list li {
    height: 100%;
    border-radius: var(--border-radius);
}
.nav-list li:hover {
    background-color: #e4e4e497;
}

.nav-list li a {
    position: relative;
    display: block;
    padding: 0 2rem;
    /* width: 100%; */
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    color: #000000;
    z-index: 1;
}

.slider {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    border-radius: var(--border-radius);
    background-color: #ffffff;
    transition: all 0.3s cubic-bezier(0.42, 0, 0.62, 1.42);
}

